<?php
class PageForm extends Zend_Form
{
	public function __construct($options = null)
	{
		parent::__construct($options);
		$t = Zend_Registry::get('Zend_Translate');

		$this->setname('page');

		$id = new Zend_Form_Element_Hidden('id');
		$id->setOrder(102);

		$parentId = new Zend_Form_Element_Select('parentId');
		$parentId->setLabel($t->_('parentId'));
		$parentId->size = 5;

		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setOrder(100);

		$reset = new Zend_Form_Element_Reset('reset');
		$reset->setLabel('reset');
		$reset->setOrder(101);

		$this->addElements(array(
			$parentId, $reset, $submit, $id
		));
	}
}